OTP\Handler\Forms\WpMemberForm S

Total Complexity 36
Dependencies 8
Dependents 0
Total lines 212
Lines of code 141
Logical lines of code 90
Comment lines 0
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
wpmember_add_button()
S
59 6 13
validate_submitted()
S
57 5 17
handleFormOptions()
S
63 3 11
routeData()
S
66 3 8
_handle_wp_member_form()
S
66 3 9
validate_wpmember_submit()
S
64 3 9
getPhoneNumberSelector()
S
70 3 6
_add_shortcode_to_wpmember()
S
57 1 17
__construct()
S
58 1 15
processEmailAndStartOTPVerificationProcess()
S
63 2 10
processPhoneAndStartOTPVerificationProcess()
S
63 2 10
handleForm()
S
69 1 6
handle_failed_verification()
S
77 1 4
handle_post_verification()
S
83 1 3
unsetOTPSessionVariables()
S
79 1 3